package com.dlc.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 规格组合商品关联表
 * @author LGH
 */
@Data
@TableName("tz_sku_combo")
@Schema(description = "规格组合商品关联表")
public class SkuCombo implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    private Long skuId;
    @Schema(description = "组合的skuid")
    private Long comboSkuId;
    @Schema(description = "组合的spuid")
    private Long comboProdId;
    @Schema(description = "组合数量")
    private Integer comboCount;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "修改时间")
    private Date updateTime;

    @Schema(description = "商品Id")
    @TableField(exist = false)
    private Long prodId;

}
